Set _NET_WM(_ICON)_NAME as per Extended Window Manager Hints (Bug#6563).
authorJan D <jan.h.d@swipnet.se>
Mon, 5 Jul 2010 10:28:27 +0000 (12:28 +0200)
committerJan D <jan.h.d@swipnet.se>
Mon, 5 Jul 2010 10:28:27 +0000 (12:28 +0200)
commit0a71535c97e378f6207064a665c48c107b96d8f3
treeb02aac03027c512e75375847b561315eb1369210
parentf3c5c11e3e863cc8912d5995953f26307c2f23e0
Set _NET_WM(_ICON)_NAME as per Extended Window Manager Hints (Bug#6563).

* xterm.h (Xatom_net_wm_name, Xatom_net_wm_icon_name): New.

* xterm.c (x_term_init): Intern the _NET_WM_NAME and
_NET_WM_ICON_NAME atoms.

* xfns.c (x_set_name_internal): Set the EWMH _NET_WM_NAME
and _NET_WM_ICON_NAME properties, too, matching what is
done in the Gtk+ case.
src/ChangeLog
src/xfns.c
src/xterm.c
src/xterm.h